package com.yzy.controller;

import java.text.MessageFormat;

/**
 * @author yangzhenyu
 * @version 1.0
 * @description:
 * @date 2022/7/1 11:23
 */
public class Test4 {

    public static void main(String[] args) {
        String msg = "【{0}】、早上好!!!";
        String yangzhenyu = MessageFormat.format(msg, "yangzhenyu");
        System.out.printf(yangzhenyu);
    }
}
